Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix trait codegen to support lists of enums #2420

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

hpmellema
Copy link
Contributor

Description

Corrects 2 related bugs that were preventing enum list traits from being correctly generated:

  1. Added this to a number of builder setter values to avoid clashes
  2. Add missing fromNode method to nested enums so that can correctly be created by array node consumer.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hpmellema hpmellema requested a review from a team as a code owner October 15, 2024 15:46
@hpmellema hpmellema merged commit 0f10790 into smithy-lang:main Oct 15, 2024
13 checks passed
@hpmellema hpmellema deleted the fix-enum-list-trait branch October 15, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants